package com.sea.demo.shiro.mapper;

import com.sea.demo.shiro.domain.Permission;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: 快乐在角落里
 * @Create: 2020/11/7 23:40
 */
@Repository
public interface PermissionMapper {

    int insert(Permission permission);

    int delete(Integer id);

    int update(Permission permission);

    List<Permission> select(Permission permission);

    Permission selectOne(Integer id);
}
